<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container1{
            flex-direction: column;
            display: flex;
            justify-content: center;
            align-items: center;   
            left: 0px;
            top:0px;         
            width: 454px;
            height: 454px;
            background-color: black;
            border-radius: 50%;
        }     
        .container2{
            flex-direction: row;
            display: flex;
            justify-content: center;
            align-items: center;      
            margin-top: 50px;             
            width: 454px;
            height: 250px;     
        }     
        .title{
            font-size: 30px;
            text-align: center;
            width: 200px;
            height: 100px;
            color:white;
        }
        .pv1{            
            width: 30px;
            height: 20px;
        }
        .txt{
            text-align: center;
            width: 30px;
            height: 20px;
            color:white;
        }
        .pv2{
            margin-left: 10px;
            width: 60px;
            height: 20px;
        }
        .btn{
            width: 200px;
            height: 50px;
            font-size: 38px;
            background-color: #000;
            border-color: #000;
            color: white;
        }
        .img{
            width: 208px;
            height: 208px;
        }        
    </style>
    </head>
<body>
    <div class="container1">
        <div class="container2">
            <select name="" id="" class="pv1">
                <option value="">1</option>
                <option value="">2</option>
                <option value="">3</option>
            </select>            
            <text class="txt">分</text>
            <image class='img' src='./image/hm.png'></image>
            <select name="" id="" class="pv2">
                <option value="">较慢</option>
                <option value="">舒缓</option>
                <option value="">较快</option>
            </select>     
        </div>
        <input type="button" value="点我" class='btn'>
    </div>    
</body>

<script>   
 localStorage.setItem('key',1);
	localStorage.setItem('key1',"较慢"); 
    var btn=document.getElementsByClassName('btn')[0];
    btn.onclick=function()
    {
        location.href='./stopping.html';
    } 
    var pv1=document.getElementsByClassName('pv1')[0];
    
    pv1.onchange=function(){
        var a1=this.selectedIndex;
        var b1=this.options[a1];     
        console.log('左边的选中项：'+b1.text); 
        localStorage.setItem('key',b1.text);
    }   
    
    var pv2=document.getElementsByClassName('pv2')[0];
    pv2.onchange=function(){
        var a2=this.selectedIndex;
        var b2=this.options[a2];
        console.log('右边的选中项：'+b2.text);
        localStorage.setItem('key1',b2.text);  
    }   
   
    
</script>
</html>